import request from '@/utils/request' 

//GTE 传参需要用 params
//POST 传参需要用 data

export function getUserInfo() {
	return request({
		url: '/getProfile',
		method: 'get'
	})
}

export function login(query) {
	return request({
		url: '/login',
		method: 'post',
		headers:{
			'Content-Type':'application/json;charset=utf8',
		},
		data: query
	})
}